Exp=f
@p1=
@c1=
@p2=
@c2=
@va=temp_a
@vb=temp_b
@vc=temp_c
@vd=temp_d
@end
                                        
//YSetValue
//ĿģԱֵ
//aҪõֵ
//ؽҪõֵ
//LastError=0ȷLastErrorΪμֲ
 public long YSetValue(long a)
{
	LastError=0;
	bool b_negative=false;//ֲڴǷ
	if(a<0){a=-a;b_negative=true;}//ΪaΪȻø
	//ֲ
	short temp_a,temp_b,temp_c,temp_d;
	//a256ȡ
	//ΪCalculateEx_3ʽֻֽڱܳ256
	temp_a=(short)(a-a/256*256);
	//aȥ
	//ΪʲôҪaȥأ
	//Ϊ׼ڼڲμ㣬aҪȥԼ
	a=a-temp_a;
	int result;//ֲ,ؽ
	short b=0,c=0,d=0;
	System.Random rnd=new System.Random();
	b = (short)rnd.Next(0,255); c = (short)rnd.Next(0,255); d = (short)rnd.Next(0,255);
	//ⲽa,bĸ͵ڲ,b,c,dԡ
	//@fļе@pλдмʽ
	
	{
	result=CalculateEx_3("@f.lll",@p, 16,ref temp_a,ref b,ref c,ref d,KeyPath,2000);
	}
	temp_b=b;temp_c=c;temp_d=d;
	@1
	if (result!=0)
	{
		LastError= result;//ô
		return 0;
	}
	//ڼĽصtemp_a
	//ٽǰȥaӾͿˡ
	if(b_negative) return -(temp_a+a);//aΪֱtemp_aȻȡ;
	return temp_a+a;//Ϊ,ֱtemp_a
}